<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@include file="head.jsp" %>
<div class="logindistance"></div>
<div class="logindiv">
    <c:if test="${not empty param.login_error}">
        <font color="red">
        <spring:message code="msg.loginfail" /><br/><br/>
        <spring:message code="msg.reason" />: <c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}"/>.
        </font>
    </c:if>
    <form class="well" action="j_spring_security_check" method="post" id="form">
        <fieldset>
            <legend><spring:message code="msg.pleaselogin" />:</legend>
            <div>
                <table>
                    <tr>
                        <td><spring:message code="msg.username" />:</td><td><input name="j_username" type="text" /></td>
                    </tr>
                    <tr>
                        <td><spring:message code="msg.password" />:</td><td> <input name="j_password" type="password"</td>
                    </tr>
                    <tr>
                        <td><input class="btn btn-primary" type="submit" value="<spring:message code='msg.signin' />"/></td>
                    </tr>
                </table>
            </div>
        </fieldset>
    </form>
</div>